import type { RouteMeta } from 'vue-router';
export interface RouteItem {
	path: string;
	component: any;
	meta: RouteMeta;
	name?: string;
	alias?: string | string[];
	redirect?: string;
	caseSensitive?: boolean;
	children?: RouteItem[];
}

interface BackRoute {
	id: number;
	parentId: number;
	name: string;
	title: string;
}

/**
 * @description: Get menu return value
 */
export type getMenuListResultModel = RouteItem[];

export type getMenuListResult = BackRoute[];
